package com.bysj.entity;

import java.util.List;

public class CollectedTopic {
    private int id;
    private int tid;
    private int uid;
    private List<Topic> topic;

    public CollectedTopic() {
    }

    public CollectedTopic(int id, int tid, int uid, List<Topic> topic) {
        this.id = id;
        this.tid = tid;
        this.uid = uid;
        this.topic = topic;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public List<Topic> getTopic() {
        return topic;
    }

    public void setTopic(List<Topic> topic) {
        this.topic = topic;
    }

    @Override
    public String toString() {
        return "CollectedTopic{" +
                "id=" + id +
                ", tid=" + tid +
                ", uid=" + uid +
                ", topic=" + topic +
                '}';
    }
}
